/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.Ques1;

/**
 *
 * @author User 1
 */
public class Encapsulation {
    int a;
    int b;
    public void hello(){
        
    }
    
    public int getAB()
    {
        return a+b;
    }
    public void setAB(int T)
    {
     a = 2 * T;
     b = T / 2;
        
    }
}
